unit uExceptionContaInvalida;

interface

uses
  System.SysUtils, uExceptionAutenticacao;

type
  EContaInvalida = class(EAutenticacao)
    private
      FNumeroDaConta : integer;
    public
      property NumeroDaConta: integer read FNumeroDaConta write FNumeroDaConta;
      constructor Create(NumeroDaConta : integer; Horario : TDateTime);
  end;

implementation

constructor EContaInvalida.Create(NumeroDaConta: Integer; Horario: TDateTime);
begin
  self.NumeroDaConta := NumeroDaConta;
  self.Horario       := Horario;
end;

end.
